package com.wechatpay.v3.sdk;

import java.io.Serializable;

/**
 * @author liuyi <liuy@pvc123.com>
 * @since 2021/7/23
 */
public class WechatConfig implements Serializable {

    private String appID;
    /** 商户ID，微信支付后台查看 */
    private String mchID;
    /** API密钥，微信支付后台查看 */
    private String key;
    /** API3密钥，微信支付后台查看 */
    private String apiV3Key;
    /** 证书文件名称 */
    private String certFile;
    /** 证书编号 */
    private String merchantSerialNumber;
    /** 支付成功的回调地址 */
    private String notifyOrderCallbackUrl;
    /** 退款的回调地址 */
    private String notifyRefundCallbackUrl;

    public WechatConfig(String appID, String mchID, String key, String apiV3Key, String certFile, String merchantSerialNumber, String notifyOrderCallbackUrl, String notifyRefundCallbackUrl) {
        this.appID = appID;
        this.mchID = mchID;
        this.key = key;
        this.apiV3Key = apiV3Key;
        this.certFile = certFile;
        this.merchantSerialNumber = merchantSerialNumber;
        this.notifyOrderCallbackUrl = notifyOrderCallbackUrl;
        this.notifyRefundCallbackUrl = notifyRefundCallbackUrl;
    }

    public String getAppID() {
        return appID;
    }

    public void setAppID(String appID) {
        this.appID = appID;
    }

    public String getMchID() {
        return mchID;
    }

    public void setMchID(String mchID) {
        this.mchID = mchID;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getApiV3Key() {
        return apiV3Key;
    }

    public void setApiV3Key(String apiV3Key) {
        this.apiV3Key = apiV3Key;
    }

    public String getCertFile() {
        return certFile;
    }

    public void setCertFile(String certFile) {
        this.certFile = certFile;
    }

    public String getMerchantSerialNumber() {
        return merchantSerialNumber;
    }

    public void setMerchantSerialNumber(String merchantSerialNumber) {
        this.merchantSerialNumber = merchantSerialNumber;
    }

    public String getNotifyOrderCallbackUrl() {
        return notifyOrderCallbackUrl;
    }

    public void setNotifyOrderCallbackUrl(String notifyOrderCallbackUrl) {
        this.notifyOrderCallbackUrl = notifyOrderCallbackUrl;
    }

    public String getNotifyRefundCallbackUrl() {
        return notifyRefundCallbackUrl;
    }

    public void setNotifyRefundCallbackUrl(String notifyRefundCallbackUrl) {
        this.notifyRefundCallbackUrl = notifyRefundCallbackUrl;
    }
}
